package com.dyj.tiktok.client;

import com.dtflys.forest.annotation.*;
import com.dyj.common.domain.DyTikTokResult;
import com.dyj.common.domain.query.UserInfoQuery;
import com.dyj.common.interceptor.TikTokBodyTokenInterceptor;
import com.dyj.tiktok.domain.vo.TikTokInfoVo;

/**
 * @author danmo
 * @date 2024-04-07 14:49
 **/
@BaseRequest(baseURL = "${tikTokDomain}")
public interface UserClient {

    @Get(url = "${tikTokUserInfo}", interceptor = TikTokBodyTokenInterceptor.class)
    DyTikTokResult<TikTokInfoVo> getUserInfo(UserInfoQuery query, @Query("fields") String fields);



}
